package com.ty.skysystem.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * (SysUserRole)表实体类
 *
 * @author mjg
 * @since 2020-12-22 12:33:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysUserRole extends Model<SysUserRole> {

  private static final long serialVersionUID = -6521386018177686656L;
  private Integer sysUserRoleId;

  private Long sysUserId;

  private Integer sysRoleId;

  /**
   * 获取主键值
   *
   * @return 主键值
   */
  @Override
  protected Serializable pkVal() {
    return this.sysUserRoleId;
  }
}
